package com.example.demo.dto.system;

import java.io.Serializable;
import java.util.List;

/**
 * 子系统字段DTO
 */
public class SubsystemFieldDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 字段ID */
    private Long id;
    
    /** 系统编码 */
    private String systemCode;
    
    /** 字段标识 */
    private String fieldKey;
    
    /** 字段名称 */
    private String fieldName;
    
    /** 字段类型(text:文本,number:数字,date:日期,select:下拉选择,radio:单选,checkbox:多选) */
    private String fieldType;
    
    /** 是否必填(0:否,1:是) */
    private Integer isRequired;
    
    /** 默认值 */
    private String defaultValue;
    
    /** 占位提示 */
    private String placeholder;
    
    /** 显示顺序 */
    private Integer orderNum;
    
    /** 状态(0:禁用,1:启用) */
    private Integer status;
    
    /** 备注 */
    private String remark;
    
    /** 字段选项列表 */
    private List<FieldOptionDTO> options;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getFieldKey() {
        return fieldKey;
    }

    public void setFieldKey(String fieldKey) {
        this.fieldKey = fieldKey;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public Integer getIsRequired() {
        return isRequired;
    }

    public void setIsRequired(Integer isRequired) {
        this.isRequired = isRequired;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getPlaceholder() {
        return placeholder;
    }

    public void setPlaceholder(String placeholder) {
        this.placeholder = placeholder;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<FieldOptionDTO> getOptions() {
        return options;
    }

    public void setOptions(List<FieldOptionDTO> options) {
        this.options = options;
    }
} 